package smashedapples.utils
{
	public class RegExUtils
	{
		public static function getUrlPattern():RegExp
		{
			return  /(((http|ftp|https):\/\/){1}([a-zA-Z0-9_-]+)(\.[a-zA-Z0-9_-]+)+([\S,:\/\.\?=a-zA-Z0-9_-]+))/igs;
		}
		
		
		public static function getTwitterUsernamePattern():RegExp
		{
			return /(@[a-zA-Z0-9_-]+)/igs;
		}
		
	}
}